<form action="<?=base_url()?>abiturient/save/<?=!empty($abiturient)?'true': ''?>" method="post" class="form-horizontal">
	<fildset>
		<legend><?=!empty($abiturient)? 'Редактирование ' : 'Добавление '?>абитуриента</legend>
		<div class="control-group">
			<label for="inputFam" class="control-label">Фамилия</label>
			<div class="controls">
		    	<input type="text" id="inputFam" name="pFamily" class="input-large" placeholder="Фамилия.."
		    					value="<?=(!empty($abiturient->pFamily))? $abiturient->pFamily: '' ?>">
		    	<? if (!empty($abiturient)) :?>
		    		<input type="hidden" name="id" value="<?=$abiturient->id?>">
		    	<? endif;?>
		    </div>
		</div>

		<div class="control-group">
			<div class="controls">
		    	<button type="submit" class="btn btn-success"><i class="icon-plus-sign icon-white"></i>&nbsp <?=(!empty($abiturient))?'Редактировать':'Добавить'?></button>
		    </div>
		  </div>
	</fildset>
</form>


